home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dirut / delx.zip / DELX.DOC next >
Text File  |  1988-10-14  |  3KB  |  91 lines

  1.     READ ME OR DIE!!!!!!
  2.     
  3.     Catchy little title, isn't it?  Maybe it overstates things
  4.     a bit, but taking a moment to read this file is    important --
  5.     especially because DELX does the opposite of what you might
  6.     expect.
  7.     
  8.     If you've ever wanted to erase all but one or two files from a
  9.     directory, and had to make several passes with various wildcard
  10.     combinations to get the job done, this utility is for you.
  11.     What it does is simple -- it deletes everything EXCEPT the
  12.     filenames you specify.
  13.     
  14.     Its usage is pretty straightforward (in fact, you can get a
  15.     brief list of instructions by entering DELX at the prompt
  16.     without specifying any arguments).  Its syntax is:
  17.     
  18.     DELX [/v or /le or /ld] [\path] filenames...
  19.     
  20.     You must specify at least one filename (wildcards are allowed)
  21.     for DELX to take any action.  You can specify as many filenames
  22.     as you wish, as long as you can fit all of them on the command
  23.     line.
  24.     
  25.     If you want DELX to delete files on another drive or directory,
  26.     you can specify an optional path.  The path MUST precede any
  27.     filenames you use.
  28.     
  29.     In addition, there are three switches available to you -- /v
  30.     (VERIFY), /ld (LIST DELETIONS) and /le (LIST EXCEPTIONS).  Note
  31.     that you can only use ONE switch at a time.  If you use one of
  32.     the switches, it must be the very first argument on the command
  33.     line.
  34.     
  35.     The VERIFY switch (/v) lets you approve or reject each deletion
  36.     on a file by file basis.
  37.     
  38.     The LIST DELETIONS (/ld) switch gives you a list of files that
  39.     would have been deleted without the switch.  The LIST
  40.     EXCEPTIONS (/le) switch does just the opposite.  It presents
  41.     you with a list of exception files -- those files that match
  42.     your command line arguments and thus would have been preserved.
  43.     
  44.     You can stop program execution at any time by pressing Ctrl-C.
  45.     
  46.     Some examples:
  47.     
  48.     DELX *.COM *.EXE
  49.         will delete everything but .COM and .EXE files
  50.         in the current directory.
  51.     
  52.     DELX A:\EDITOR MYFILE.DOC
  53.         will delete everything in the A:\EDITOR directory
  54.         except the file MYFILE.DOC.
  55.     
  56.     DELX /v \ *.SYS COMMAND.COM
  57.         will prompt you for deletions as it winds its way
  58.         through the root directory, avoiding .SYS files
  59.         and COMMAND.COM.
  60.     
  61.     DELX /ld *.
  62.         will present you with a list of candidates for
  63.         deletion in the current directory, which will
  64.         include all filenames that end with an extension.
  65.         On the other hand:
  66.     
  67.     DELX /le *.
  68.         will give you a list of exception files -- those
  69.         filenames, per DOS convention, that do not have
  70.         extensions.)
  71.     
  72.     If, during its sojourns, DELX encounters a read/only file,
  73.     it will post a message to that effect and ask if you wish to
  74.     delete the file, anyway.  It ignores hidden files altogether.
  75.     
  76.     One cautionary note -- sheer force of habit can all too easily
  77.     create problems for you.  If your command line arguments
  78.     inadvertently specify those files that you wish to delete
  79.     instead of those that you wish to retain, you'll have to dust
  80.     off your copy of Norton Utilities and do a little work.  Also
  81.     make certain that you type that final 'X' in DELX.  If you are
  82.     used to typing DEL and DEL alone, you might consider renaming
  83.     DELX.EXE to something like AVOID or EXCEPT.
  84.     
  85.     Feel free to distribute this program however you wish, but
  86.     please keep the archive file intact when doing so.
  87.     
  88.                 -- Ernie Wallengren
  89.                    CIS: 71360,2206
  90.     
  91.